﻿<%@ Page Language="VB" MasterPageFile="~/MainLayout.master" AutoEventWireup="false" CodeFile="AnnouncementView.aspx.vb" Inherits="AnnouncementView" title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<h1>Announcement View  <img id="plustext" alt="Increase text size" src="images/icon01/increase_font.png" onclick="resizeText(1)" /> <img id="minustext" alt="Decrease text size" src="images/icon01/decrease_font.png" onclick="resizeText(-1)" /></h1>
<hr />
<div  runat="server" id="divError" class="msg-box-error" visible="false" enableviewstate="false">
    
        <span class="title">Error</span><br />
        <asp:Label ID="lblMsgError" runat="server" Text="ERROR" />
        </div>
<div  runat="server" id="divSuccessful" class="msg-box-success" visible="false" enableviewstate="false">
    
        <span class="title">Successful</span><br />
        <asp:Label ID="lblMsgSuccessful" runat="server" Text="Success" />
    
</div>

<div class="General-info-Container" style="width:100%;">

             <table class="Announcement-table" id="divContentGeneral" cellpadding="0" cellspacing="10" width="100%">
                
                <thead>
                <tr>
                    <th colspan="2"  ><asp:Label ID="lblTitle" runat="server" Font-Size="14px" Font-Bold="true" /><div style="height:8px; width:auto;  border-bottom:1px dashed gray; width:100%;"></div></th>
                </tr>
                </thead>
                <tr>
                    <td style="height: 50px;" ><br />
                        <asp:Label ID="lblPriority" runat="server" />
                        <div ID="StatusHigh" runat="server"  visible="false" ><img alt="" src="images/style01/Priority_High.png" style="width: 20px; height: 20px; vertical-align: middle;"  /> High Priority</div>
                        <div ID="StatusMedium" runat="server"  visible="false" ><img alt="" src="images/style01/Priority_Medium.png" style="width: 20px; height: 20px;  vertical-align: middle;" /> Medium Priority</div>
                        <div ID="StatusLow" runat="server"  visible="false" ><img alt="" src="images/style01/Priority_Low.png" style="width: 20px; height: 20px;  vertical-align: middle;" /> Low Priority</div>
                    </td> 
                </tr>
                <tbody>
                <tr>
                    <td style="width: 300px"><asp:LinkButton ID="lnkAttach" runat="server" /><asp:Label ID="lblAttachment" runat="server" visible="false" /></td>
                </tr>
                <tr>
                    <td ><br /><asp:Label ID="lblContent" runat="server" Font-Size="20px" style=" line-height:1.5;" />
                    
                    </td>
                </tr>             
                </tbody>  
             </table><br /><br />
        

<div>
<table width="100%" style="margin-left:0px;">
                        <tr>
                            <td style=" padding:0px 0px 0px 20px;"><div class="General-info-title-line"></div></td>
                            <td style="width:80px;" align="center"> 
                                
                                <asp:Button ID="btnCancel" runat="server" Text="Cancel"  CssClass="search-btn" Width="60" />
                                
                            </td>
                            <td style="width: 60px; padding-right:20px;"><div class="General-info-title-line"></div></td>
                        </tr>
                    </table>



</div>
            

<asp:Label ID="lblhidStaffId" runat="server" Visible="false"/>
<asp:label ID="lblhidAnnouncementId" runat="server" Visible="false" />
</div>
    <script>
        $("plustext").addEvent("click", function () { resizeText(1); });
        $("minustext").addEvent("click", function () { resizeText(-1); });
        function resizeText(multiplier) {
            var element = document.getElementById('<%= lblContent.ClientID%>');
            if (element.style.fontSize == "") {
                element.style.fontSize = "5px";
            }
            console.log(parseFloat(element.style.fontSize));
            element.style.fontSize = parseFloat(element.style.fontSize) + (multiplier * 2) + "px";
        }
    </script>
</asp:Content>